package com.city.format;

import java.util.Objects;

/**
 * @Author: 李顺时
 * @Description:
 * @Date: Create in 15:26 2018/9/12
 * @Modified By:
 * */

public class CtCountFormat {
    private Integer id;             //主键
//    private Integer branchId;       //部门Id
    private String branchName;      //专业部门  名称
    private String docketNum;       //立案数
    private String shouldHandleNum; //应处置数
    private String handleNum;       //处置数
    private String onTimeHandleNum; //按期处置数
    private String outTimeHandleNum;//超时处置数
    private String inTimeHandleNum; //按期待处置数
    private String outTimeNotHandleNum;//超时待处置数
    private String reWorkNum;       //返工数
    private String reWorkRate;      //返工率
    private String shouldClosedNum; //应结案数
    private String realClosedNum;   //结案数
    private String realClosedRate;      //结案率
    private String onTimeClosedNum; //按期结案数
    private String onTimeClosedRate;//按期结案率
    private String overallMerit;     //综合指标
    private String rank;             //评价等级

    public CtCountFormat() {
    }

    public CtCountFormat(Integer id, String branchName, String docketNum, String shouldHandleNum, String handleNum, String onTimeHandleNum, String outTimeHandleNum, String inTimeHandleNum, String outTimeNotHandleNum, String reWorkNum, String reWorkRate, String shouldClosedNum, String realClosedNum, String realClosedRate, String onTimeClosedNum, String onTimeClosedRate, String overallMerit, String rank) {
        this.id = id;
        this.branchName = branchName;
        this.docketNum = docketNum;
        this.shouldHandleNum = shouldHandleNum;
        this.handleNum = handleNum;
        this.onTimeHandleNum = onTimeHandleNum;
        this.outTimeHandleNum = outTimeHandleNum;
        this.inTimeHandleNum = inTimeHandleNum;
        this.outTimeNotHandleNum = outTimeNotHandleNum;
        this.reWorkNum = reWorkNum;
        this.reWorkRate = reWorkRate;
        this.shouldClosedNum = shouldClosedNum;
        this.realClosedNum = realClosedNum;
        this.realClosedRate = realClosedRate;
        this.onTimeClosedNum = onTimeClosedNum;
        this.onTimeClosedRate = onTimeClosedRate;
        this.overallMerit = overallMerit;
        this.rank = rank;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getDocketNum() {
        return docketNum;
    }

    public void setDocketNum(String docketNum) {
        this.docketNum = docketNum;
    }

    public String getShouldHandleNum() {
        return shouldHandleNum;
    }

    public void setShouldHandleNum(String shouldHandleNum) {
        this.shouldHandleNum = shouldHandleNum;
    }

    public String getHandleNum() {
        return handleNum;
    }

    public void setHandleNum(String handleNum) {
        this.handleNum = handleNum;
    }

    public String getOnTimeHandleNum() {
        return onTimeHandleNum;
    }

    public void setOnTimeHandleNum(String onTimeHandleNum) {
        this.onTimeHandleNum = onTimeHandleNum;
    }

    public String getOutTimeHandleNum() {
        return outTimeHandleNum;
    }

    public void setOutTimeHandleNum(String outTimeHandleNum) {
        this.outTimeHandleNum = outTimeHandleNum;
    }

    public String getInTimeHandleNum() {
        return inTimeHandleNum;
    }

    public void setInTimeHandleNum(String inTimeHandleNum) {
        this.inTimeHandleNum = inTimeHandleNum;
    }

    public String getOutTimeNotHandleNum() {
        return outTimeNotHandleNum;
    }

    public void setOutTimeNotHandleNum(String outTimeNotHandleNum) {
        this.outTimeNotHandleNum = outTimeNotHandleNum;
    }

    public String getReWorkNum() {
        return reWorkNum;
    }

    public void setReWorkNum(String reWorkNum) {
        this.reWorkNum = reWorkNum;
    }

    public String getReWorkRate() {
        return reWorkRate;
    }

    public void setReWorkRate(String reWorkRate) {
        this.reWorkRate = reWorkRate;
    }

    public String getShouldClosedNum() {
        return shouldClosedNum;
    }

    public void setShouldClosedNum(String shouldClosedNum) {
        this.shouldClosedNum = shouldClosedNum;
    }

    public String getRealClosedNum() {
        return realClosedNum;
    }

    public void setRealClosedNum(String realClosedNum) {
        this.realClosedNum = realClosedNum;
    }

    public String getRealClosedRate() {
        return realClosedRate;
    }

    public void setRealClosedRate(String realClosedRate) {
        this.realClosedRate = realClosedRate;
    }

    public String getOnTimeClosedNum() {
        return onTimeClosedNum;
    }

    public void setOnTimeClosedNum(String onTimeClosedNum) {
        this.onTimeClosedNum = onTimeClosedNum;
    }

    public String getOnTimeClosedRate() {
        return onTimeClosedRate;
    }

    public void setOnTimeClosedRate(String onTimeClosedRate) {
        this.onTimeClosedRate = onTimeClosedRate;
    }

    public String getOverallMerit() {
        return overallMerit;
    }

    public void setOverallMerit(String overallMerit) {
        this.overallMerit = overallMerit;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CtCountFormat that = (CtCountFormat) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(branchName, that.branchName) &&
                Objects.equals(docketNum, that.docketNum) &&
                Objects.equals(shouldHandleNum, that.shouldHandleNum) &&
                Objects.equals(handleNum, that.handleNum) &&
                Objects.equals(onTimeHandleNum, that.onTimeHandleNum) &&
                Objects.equals(outTimeHandleNum, that.outTimeHandleNum) &&
                Objects.equals(inTimeHandleNum, that.inTimeHandleNum) &&
                Objects.equals(outTimeNotHandleNum, that.outTimeNotHandleNum) &&
                Objects.equals(reWorkNum, that.reWorkNum) &&
                Objects.equals(reWorkRate, that.reWorkRate) &&
                Objects.equals(shouldClosedNum, that.shouldClosedNum) &&
                Objects.equals(realClosedNum, that.realClosedNum) &&
                Objects.equals(realClosedRate, that.realClosedRate) &&
                Objects.equals(onTimeClosedNum, that.onTimeClosedNum) &&
                Objects.equals(onTimeClosedRate, that.onTimeClosedRate) &&
                Objects.equals(overallMerit, that.overallMerit) &&
                Objects.equals(rank, that.rank);
    }

    @Override
    public int hashCode() {

        return Objects.hash(id, branchName, docketNum, shouldHandleNum, handleNum, onTimeHandleNum, outTimeHandleNum, inTimeHandleNum, outTimeNotHandleNum, reWorkNum, reWorkRate, shouldClosedNum, realClosedNum, realClosedRate, onTimeClosedNum, onTimeClosedRate, overallMerit, rank);
    }

    @Override
    public String toString() {
        return "CtCountFormat{" +
                "id=" + id +
                ", branchName='" + branchName + '\'' +
                ", docketNum='" + docketNum + '\'' +
                ", shouldHandleNum='" + shouldHandleNum + '\'' +
                ", handleNum='" + handleNum + '\'' +
                ", onTimeHandleNum='" + onTimeHandleNum + '\'' +
                ", outTimeHandleNum='" + outTimeHandleNum + '\'' +
                ", inTimeHandleNum='" + inTimeHandleNum + '\'' +
                ", outTimeNotHandleNum='" + outTimeNotHandleNum + '\'' +
                ", reWorkNum='" + reWorkNum + '\'' +
                ", reWorkRate='" + reWorkRate + '\'' +
                ", shouldClosedNum='" + shouldClosedNum + '\'' +
                ", realClosedNum='" + realClosedNum + '\'' +
                ", realClosedRate='" + realClosedRate + '\'' +
                ", onTimeClosedNum='" + onTimeClosedNum + '\'' +
                ", onTimeClosedRate='" + onTimeClosedRate + '\'' +
                ", overallMerit='" + overallMerit + '\'' +
                ", rank='" + rank + '\'' +
                '}';
    }
}
